//
//  findVC.h
//  Find
//
//  Created by lanou3g on 15/10/27.
//  Copyright © 2015年 Reiko. All rights reserved.
//

#ifndef findVC_h
#define findVC_h


#endif /* findVC_h */

#import "FindViewController.h"
#import "findListCell.h"
#import "FindPhotoCollectionCell.h"
#import "FindDetailViewController.h"
#import "DetailView.h"
#import "FindDetailCell.h"
#import "FindPrivateLetterVC.h"




#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height
#define kTabBarHeight 49
#define kNavBarHeight 64


#pragma marl ============== find列表界面==================
// 颜色
#define kFindListCellLabelTextColor [UIColor colorWithRed:87/255.0 green:191/255.0 blue:255/255.0 alpha:1]

// 导航条
#define kFindNavBarTitleViewWidth kScreenWidth*0.3
#define kFindNavBarTitleViewHeight 30
#define kFindNavBarTitleViewCornerRadius 20
#define kFindSegmentCornerRadius 15


// 用户图像
#define kFindListCellMineImageViewWidth kScreenWidth*0.15
#define kFindListCellMineImageViewHeight kScreenWidth*0.15
#define kFindListCellMineImageViewX kScreenWidth*0.05
#define kFindListCellMineImageViewY kScreenWidth*0.05
#define kFindListCellMineImageViewCo

// 标题
#define kFindListCellTitleLabelWidth kScreenWidth*0.53
#define kFindListCellTitleLabelHeight kScreenWidth*0.13
#define kFindListCellTitleLabelToMineImageViewX kScreenWidth*0.02
#define kFindListCellTitleLabelToMineImageViewY kScreenWidth*0.01
#define kFindListCellTitleLabelFont 20

// 详情
#define kFindListCellDetailLabelWidth kScreenWidth*0.9
#define kFindListCellDetailLabelHeight kScreenHeight*0.075
#define kFindListCellDetailLabelX kScreenWidth*0.05
#define kFindListCellDetailLabelToMineImageViewY kScreenWidth*0.02
#define kFindListCellDetailLabelFont 15

// 地点图标
#define kFindListCellAddressImageViewWidth kScreenWidth*0.075
#define kFindListCellAddressImageViewHeight kScreenWidth*0.075
#define kFindListCellAddressImageViewX kScreenWidth*0.05
#define kFindListCellAddressImageViewToDetailLabelY kScreenWidth*0.02

// 地址
#define kFindListCellAddressLabelWidth kScreenWidth*0.5
#define kFindListCellAddressLabelHeight kScreenWidth*0.0715
#define kFindListCellAddressLabelToAddressImageViewX kScreenWidth*0.02
#define kFindListCellAddressLabelToAddressImageViewY 0
#define kFindListCellAddressLabelFont 13

// 距离
#define kFindListCellDistanceLabelWidth kScreenWidth*0.18
#define kFindListCellDistanceLabelHeight kFindListCellDetailLabelHeight*0.5
#define kFindListCellDistanceLabelToTitleLabelX kScreenWidth*0.02
#define kFindListCellDistanceLabelToTitleLabelY 0
#define kFindListCellDistanceLabelFont 13

// 时间
#define kFindListCellTimeLabelWidth kScreenWidth*0.28
#define kFindListCellTimeLabelHeight kFindListCellAddressLabelHeight
#define kFindListCellTimeLabelToAddressLabelX kScreenWidth*0.02
#define kFindListCellTimeLabelToAddressLabelY 0
#define kFindListCellTimeLabelFont 13

///////////  collectionView

#define kFindPhotoSpacing kScreenWidth*0.025
#define kFindPhotoSectionInset kScreenWidth*0.025
#define kFindPhotoMainImageViewWidth kScreenWidth*0.3
#define kFindPhotoMainImageViewHeight kScreenWidth*0.4
#define kFindPhotoMainImageViewCornerRadius 10
#define kFindPhotoAddressImageViewWidth kScreenWidth*0.06
#define kFindPhotoAddressImageViewHight kScreenWidth*0.06
#define kFindPhotoAddressLabelWidth kScreenWidth*0.24
#define kFindPhotoAddressLabelHeight kScreenWidth*0.06
#define kFindPhotoAddressLabelFont 13

#pragma mark ============== find详情界面==================
// label字体大小
#define kDetailLabelFont 14
// button字体大小
#define kDetailButtonFont 12


// 用户图像
#define kDetailMineImageViewWidth kScreenWidth*0.25
#define kDetailMineImageViewHeight kScreenWidth*0.25
#define kDetailMineImageViewX kScreenWidth*0.032
#define kDetailMineImageViewY kScreenWidth*0.032
// 用户名
#define kDetailUserNameLabelWidth kScreenWidth*0.654
#define kDetailUserNameLabelHeight kScreenWidth*0.07
#define kDetailUserNameLabelToMineImageViewX kScreenWidth*0.032
// 标题
#define kDetailTitleLabelWidth kScreenWidth*0.654
#define kDetailTitleLabelHeight kScreenWidth*0.14
#define kDetailTitleLabelToUserNameLabelY kScreenWidth*0.04
// 距离
#define kDetailDistanceLabelWidth kScreenWidth*0.236
#define kDetailDistanceLabelHeight kScreenWidth*0.05
#define kDetailDistanceLabelToTitleLabelY kScreenWidth*0.04
// 发表时间
#define kDetailPublishTimeLabelWidth kScreenWidth*0.4
#define kDetailPublishTimeLabelHeight kScreenWidth*0.05
#define kDetailPublishTimeToDistanceLableX kScreenWidth*0.3
// 地点
#define kDetailAddressLabelWidth kScreenWidth*0.936
#define kDetailAddressLabelHeight kScreenWidth*0.06
#define kDetailAddressLabelToDistanceLabelY kScreenWidth*0.08
// 时间
#define kDetailTimeLabelWidth kScreenWidth*0.936
#define kDetailTimeLabelHeight kScreenWidth*0.06
#define kDetailTimeLabelToAddressLabelY kScreenWidth*0.015
//备注
#define kDetailRemarkLabelWidth kScreenWidth*0.936
#define kDetailRemarkLabelHeight kScreenWidth*0.06
#define kDetailRemarkLabelToTimeLabelY kScreenWidth*0.015
// 详情
#define kDetailDetailLabelWidth kScreenWidth*0.936
#define kDetailDetailLabelHeight kScreenWidth*0.25
#define kDetailDetailLabelToRemarkLabelY kScreenWidth*0.08
// 收藏 转发 更多
#define kDetailCollectImageWidth kScreenWidth*0.05
#define kDetailCollectImageHeight kScreenWidth*0.05
#define kDetailCollectImageX kScreenWidth*0.5
#define kDetailCollectImageToDetailLabelLY kScreenWidth*0.04
#define kDetailCollectButtonWidth kScreenWidth*0.15
#define kDetailCollectButtonHeight kScreenWidth*0.05
#define kDetailButtonAndImageViewMargin kScreenWidth*0.03
// 照片
#define kDetailPictureLabelWidth kScreenWidth*0.1
#define kDetailPictureLabelHeight kScreenWidth*0.07
#define kDetailPictureLabelToCollectImageViewY kScreenWidth*0.06
// 相片
#define kDetailOneImageViewWidth kScreenWidth*0.21
#define kDetailOneImageViewHeight kScreenHeight*0.25
#define kDetailOneImageViewCornerRadius 10
#define kDetailOneImageViewX kScreenWidth*0.032
#define kDetailOneImageViewToPictureLabelY kScreenWidth*0.04
// 评论
#define kDetailCommentLabelWidth kScreenWidth*0.1
#define kDetailCommentLabelHeight kScreenWidth*0.07
#define kDetailCommentLabelToOneImageViewY kScreenWidth*0.07

#pragma mark 聊天界面

#define kChatFont 14

